package view;

import java.awt.Color;

import javax.swing.JPanel;

import model.item.Inventory;

public class MerchantInteractionMenu extends JPanel {

	public static final String ID = "MERCHANT_MENU";
	
	private Inventory avatarInventory;
	private Inventory merchantInventory;
	//need to add variable for the gold?
	
	private AvatarPanel avatarPanel;
	private MerchantPanel merchantPanel;
	
	public MerchantInteractionMenu(Inventory avatarInventory, Inventory merchantInventory) {
		this.avatarInventory = avatarInventory;
		this.merchantInventory = merchantInventory;
		
		setSize(600,420);
		setLocation(50,50);
		setBackground(Color.BLACK);
		setForeground(Color.RED);
		setLayout(null);
		setVisible(true);
		
		merchantPanel = new MerchantPanel(merchantInventory);
		avatarPanel = new AvatarPanel(avatarInventory);
		
		add(merchantPanel);
		add(avatarPanel);
		
	}
}
